    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <html xmlns="http://www.w3.org/1999/xhtml">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>标准项管理</title>
       <link href="/assets/styles/default.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" type="text/css" href="/assets/styles/themes/icon.css" />
        <link rel="stylesheet" type="text/css" href="/assets/styles/themes/default/easyui.css" />
		<link href="/components/zykt_nj/menu_nj/TestStandardManage/TestItemManage.css" type="text/css" rel="stylesheet">

        <script type="text/javascript" src="/assets/scripts/jquery-2.1.1.min.js"></script>
        <script type="text/javascript" src="/assets/scripts/jquery.easyui.min2.js"></script>
        <script type="text/javascript" src="/assets/scripts/easyui-lang-zh_CN.js"></script>
        <script type="text/javascript" src="/assets/scripts/scrolltopcontrol.js"></script>
        <link rel="stylesheet" href="../../assets/scripts/kindeditor/themes/default/default.css" />
		<script type="text/javascript" charset="utf-8" src="../../assets/scripts/kindeditor/kindeditor-all-min.js"></script>
        <script type="text/javascript" charset="utf-8" src="../../assets/scripts/kindeditor/lang/zh-CN.js"></script>
        <script type="text/javascript" src="/assets/scripts/ajaxfileupload.js"></script>
        <script type="text/javascript" src="/components/zykt_nj/menu_nj/TestStandardManage/loadCookie.js"></script>
        <script type="text/javascript" src="/components/zykt_nj/menu_nj/TestStandardManage/TestItemManage.js"></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<Script language="javascript">
	
</Script>


<script type="text/javascript">



    //权限按钮设置
	$(function(){
	    if(authority.indexOf("查询") < 0 ){
	       $('#tool_search').linkbutton('disable');
	    }
	    if(authority.indexOf("增加") < 0 ){
	       $('#tool_add').linkbutton('disable');
	    }
	    if(authority.indexOf("修改") < 0 ){
	       $("#tool_edit").linkbutton('disable');
	    }
	    if(authority.indexOf("删除") < 0 ){
	       $("#tool_del").linkbutton('disable');
	    }
	    
    });

	
	
</script>
</head>
  
  <body style="background:#fff" >
    <div class="easyui-layout" style="height:600px;overflow:hidden;">
    
<!-- center 存放内容-->
     <div data-options="region:'center',border:false" style="overflow:hidden;">
        <div style="width:1200px; margin: 0 auto;font-size:14px; font-family: Tahoma,Verdana,微软雅黑,新宋体;" style="overflow:hidden;">
          <!-- 存放自己的内容-->
          <div>您的位置：
          		<a href="../../menu/TestStandardManage/TestStandardManage"  class="f_gray">标准管理</a>>>
          		<a href="../../menu/TestStandardManage/TestItemManage">标准项维护</a>
          </div>
          <div style="height:10px"></div>
		<div class="easyui-layout" style="width:1200px;height:950px">
			<div data-options="region:'north',collapsed:false" style="height:63px;width:1200px" title="搜索栏">	
				<table style="border:1px ;margin:0 auto">					
					<td>实验标准：
						<input id="testStandard" class="easyui-combobox" name="testStandard" method="get" data-options="valueField:'template_id',textField:'template_name',url:'../../api/getAllTestStandard'" />  
					</td>
					<td>项目名称：
						<input class="easyui-searchbox" id="itemName" name='itemName'>
					</td>
					<td>
						<a id="tool_search" href="javascript:void(0)" class="easyui-linkbutton" onclick="searchByConditions()" data-options="iconCls:'icon-ktsySearch'" >查找</a>
					</td>

					
				</table>
			</div>
	        <div data-options="region:'center',split:false,border:false" style="width:100%;height:100%">
	            <table id="dg"> </table>
	        </div>       
        </div>
        <div id='contentDiv'>
        	<textarea id="content" name="content" style="display:none;"></textarea>
        </div>
		
        <div id="importExcel" class="easyui-dialog" title="上传" data-options="collapsible:false,minimizable:false,maximizable:false,closed:true,iconCls:'icon-save'" style="width:400px;height:100px;padding:10px;overflow:hidden;">
				<form action="/importExcel" method="post" enctype="multipart/form-data" align="center">
					<tr>
			          	标准项导入：<input  class="easyui-linkbutton" type="file" id="imprtFile1" value="选择Excel模板" name="abc"/>  
          				<input class="easyui-linkbutton" type="button" value="确定" style="width:50px" onclick="importExcel1()">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

			           
			            <!-- <input type="button" value="下载" onclick="downloadFile()"> -->
			            <a href="/downLoadFileFromFtp?url=/ktsyfile/2017/04/05/4bd794f7-43a9-465b-994c-74aa17abeb8b.xlsx">下载模版</a>
          			</tr>
          			<tr>
          				标准子项导入： <input  class="easyui-linkbutton" type="file" id="imprtFile2" value="选择Excel模板" name="abc"/>  
      					<input class="easyui-linkbutton" type="button" value="确定" style="width:50px" onclick="importExcel2()"><span style="width:100px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>

			           
			            <!-- <input type="button" value="下载" onclick="downloadFile()"> -->
			            <a href="/downLoadFileFromFtp?url=/ktsyfile/2017/04/18/ed206518-2780-45e7-ac49-e136fdbfb23f.xlsx">下载模版</a>
          			</tr>
		      	</form>
			</div>

			

          <!-- center 存放内容-->
       </div>
     </div>
<!-- footer -->
  
</div>
</body>
</html>
